package com.example.shop_2207.mvvm

import androidx.lifecycle.ViewModel
import com.example.shop_2207.net.ApiServer
import com.example.shop_2207.net.RetrofitUtils

open class BaseViewModel:ViewModel() {
    //实例化Api对象
    protected val apiServer = RetrofitUtils.getRetrofit().create(ApiServer::class.java)
}